/*
 * @Author: Joker
 * @Date: 2017-11-28 12:19:33
 * @Last Modified by: Joker
 * @Last Modified time: 2018-01-19 14:35:02
 */

let baseUrl = 'http://192.168.11.180:8083';
let imgUrl = 'http://192.168.1.158:80';
let socketIOUrl = '';

const user = 'jinghe';

if (user === 'lht') {
  baseUrl = 'http://192.168.11.187:8083';
} else if (user === 'cgz') {
  baseUrl = 'http://192.168.1.3:8083';
} else if (user === 'ny') {
  baseUrl = 'http://192.168.1.206:8083';
  
} else if (user === 'zfh') {
  baseUrl = 'http://192.168.1.208:8083';
  imgUrl = 'http://192.168.1.208:8083';
  socketIOUrl = 'http://192.168.1.208' + ':8051?clientId=000000';
} else if (user === 'jinghe') {
  baseUrl = 'http://yuetai.ngrok.xiaomiqiu.cn/api';
  imgUrl = 'http://192.168.1.38:8080';
  socketIOUrl = 'http://192.168.1.38' + ':8051?clientId=000000';
} else if (user === 'server') {
    baseUrl = 'http://113.140.13.132:8050/api';
    imgUrl = 'http://113.140.13.132:8050';
    socketIOUrl = 'http://113.140.13.132' + ':8051?clientId=000000';
}
export {
  baseUrl,
  imgUrl,
  socketIOUrl
};

